<!DOCTYPE html>
<html xmlns:th="http://www.thymeleaf.org">
<head>
<meta charset="UTF-8">
<title>班级管理</title>
</head>
<body style="width: 1024px; margin: auto;">
	<header th:replace="@{/common}::header"></header>
	<table border="1" width="100%">
	<a th:href="@{/classes/form}">增加</a>
	<tr bgcolor="yellow">
		<th>#</th>
		<th>班级名字</th>
		<th>所属学院</th>
		<th>相关描述</th>
	</tr>
 	<tr th:each="c,state:${classes}">
		<td th:text="${state.count}"></td>
		<td th:text="${c.name}"></td>
		<td th:text="${c.college.name}"></td>
		<td th:text="${c.describe}"></td>
	</tr> 
	</table>
	<footer th:replace="@{/common}::footer"></footer>
</body>
</html>